package org.stu.tp.testCases.contact;

import org.stu.tp.core.DefaultAjaxSelenium;

public class TeamSac extends ContactBaseSac{

	public String getName(DefaultAjaxSelenium selenium) {
		return selenium.getText("ctl00_content_txtName");
	}

	public void setName(DefaultAjaxSelenium selenium,String name) {
		selenium.type("ctl00_content_txtName", name);
	}
	
	
	
//	Actions
	/**
	 * click the addTeamButton to add one team
	 * @param selenium
	 */
	public void clickAddTeamButton(DefaultAjaxSelenium selenium){
		selenium.click("ctl00_content_btnAddGroup");
		this.waitForPageToLoad(selenium);
	}
}
